import { ConfigClass } from './config'

export class WorkSpaceClass {
	configClass: ConfigClass
	constructor() {
		this.configClass = new ConfigClass()
	}
	/**
	 * 获取配置
	 */
	public getConfig() {
		return this.configClass.config
	}
	/**
	 * 页面跳转
	 */
	public toDetails(url: string) {
		window.open(url)
	}
}
